package com.lukebang.dao;

import java.util.List;
import java.util.Map;

import com.lukebang.pojo.Indent;
import com.lukebang.pojo.MeasureIndent;
import com.lukebang.pojo.MerchantsWalletRecord;

/**
 * 
 * MeasureIndentDAO 上午11:12:33
 * 
 * Copyright zhaocj Inc. All rights reserved.
 * Love ME Like Justin Bieber.
 */
public interface MeasureIndentDAO {

	boolean insertMeasureIndent(MeasureIndent indent);

	MeasureIndent selectByPrimaryKey(Object indentID);

	List<MeasureIndent> selectMeasureIndentByMerchant(Map<String, Object> queryMap);

	Integer selectMeasureIndentCountByMerchant(Map<String, Object> queryMap);

	// 根据订单号查询订单的一些内容
	Map<String, Object> selectIndentByIndentIDForJpush(Integer indentId);
	//根据id查询订单类型。
	int selectMeasureIndentType(Integer indentId);

	int modifyByPrimaryKey(MeasureIndent indent);
}
